Skip to content

fix(feed-items): supply NVIDIA versions at the data shape the release feed consumes - #1123

Open
castrojo wants to merge 1 commit into
projectbluefin:v4from
castrojo:fix-feed-items-nvidia-1096
Open

fix(feed-items): supply NVIDIA versions at the data shape the release feed consumes#1123
castrojo wants to merge 1 commit into
projectbluefin:v4from
castrojo:fix-feed-items-nvidia-1096

Conversation

@castrojo

@castrojo castrojo commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Problem

FeedItems.tsx reads app.osInfo.majorPackages.NVIDIA to build the release-summary NVIDIA line, but fetch-firehose.js only ever populated majorPackages with Podman, systemd, and bootc. NVIDIA ships as an akmod built outside the OS image, so it never appears in the Syft SBOM scan for bluefin-stable/bluefin-lts themselves — the accessor always returned null.

Fix

fetch-github-driver-versions.js already solves this exact problem for the Driver Versions page: it resolves the NVIDIA version for a release by looking it up in a companion SBOM stream (bluefin-nvidia-open-stable for stable, the dedicated LTS NVIDIA stream with legacy fallbacks for LTS).

This reuses that same logic (buildNvidiaMapFromSbomStream, buildLtsNvidiaByTagFromSbom, resolveCompanionNvidia) inside fetch-firehose.js's buildOsApp, so the latest bluefin-stable/bluefin-lts entry now gets its NVIDIA version resolved and written into osInfo.majorPackages.NVIDIA — the exact data shape FeedItems.tsx already expects.

Testing

  • node --test scripts/fetch-firehose.test.js scripts/fetch-github-driver-versions.test.js — added 3 new tests covering direct packageVersions.nvidia, the companion-lookup fallback, and an end-to-end buildOsApp case.
  • npm test — full suite (488 tests) passes.
  • npx eslint scripts/fetch-firehose.js scripts/fetch-firehose.test.js — clean.

Fixes #1096

— hive: backend=copilot model=claude-sonnet-5

🐝 Hive Agent: contributor | SHA: 1249f00d

… feed consumes

FeedItems.tsx reads app.osInfo.majorPackages.NVIDIA from
static/data/firehose-apps.json, but fetch-firehose.js only ever wrote
Podman, systemd, and bootc into majorPackages — NVIDIA ships as an
akmod built outside the OS image so it never shows up in the Syft
SBOM scan for the OS stream itself.

Reuse the companion-stream NVIDIA lookup already built for the Driver
Versions page (fetch-github-driver-versions.js) so buildOsApp can
resolve the matching NVIDIA driver version for the latest bluefin-stable
and bluefin-lts release and add it to osInfo.majorPackages.NVIDIA.

Fixes projectbluefin#1096

Signed-off-by: castrojo <castrojo@users.noreply.github.com>
@castrojo castrojo added the 3-clanker-queue Work admitted to the agent-maintained queue. label Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3-clanker-queue Work admitted to the agent-maintained queue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant